import Vue from 'vue'
import App from './App'
import VueRouter from "vue-router";

Vue.use(VueRouter)

import router from './router'

new Vue({
    el:'#app',
    render:h=>h(App),
    beforeCreate() {
        Vue.prototype.$bus = this
    },
    router
})